package com.ruoyi.project.mall.service;


import com.ruoyi.common.utils.bootdo.R;
import com.ruoyi.project.mall.domain.MallNewsClassDO;

import java.util.List;
import java.util.Map;

/**
 * 商城活动咨询分类
 * 
 * @author long
 * @email 499626561@qq.com
 * @date 2020-12-25 10:18:47
 */
public interface MallNewsClassService {
	
	MallNewsClassDO get(String id);
	
	List<MallNewsClassDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(MallNewsClassDO mallNewsClass);
	
	int update(MallNewsClassDO mallNewsClass);
	
	int remove(String id);
	
	int batchRemove(String[] ids);

    List<MallNewsClassDO> likeList(Map<String, Object> map);
    int likeListCount(Map<String, Object> map);

    List<Map<String, Object>> queryAllForIdAndName(Map<String, Object> map);

    R getNewsClass();
}
